<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<script type="text/javascript">
$('#ddEditPid').combotree({
	url : '${ctx}/dd/tree.do',
	parentField : 'pid',
	panelHeight : '400',
	lines : true,
	value : '${dd.pid}',
	onLoadSuccess : function() {
		$.messager.progress('close');
	}
});
</script>

<form id="ddEdit_edit_form" method="post">
    <div class="info-panel" style="width:600px;">
        <div class="panel" style="display: block;width:600px;">
            <div class="panel-header" style="width: 600px;">
                <div class="panel-title"></div>
                <div class="panel-tool"></div>
            </div>
            <table  title="" class="easyui-panel panel-body">
                <tbody>
                <input type="hidden" name="id" />
                <tr>
                    <td>所属分组：</td>
                    <td>
                        <select type="text" id="ddEditPid" name="pid" style="width: 260px; height: 29px;"></select>
                    </td>
                </tr>
                <tr>
                    <td>数据字典名称：</td>
                    <td><input type="text" name="text" style="width: 260px; height: 29px;" class="easyui-validatebox" data-options="required:true,missingMessage:'资源名不能为空！'"/></td>
                </tr>
                <tr>
                <tr>
                    <td>数据字典值：</td>
                    <td><input type="text" name="value" style="width: 260px; height: 29px;"/></td>
                </tr>
                <tr>
                    <td>是否是标题：</td>
                    <td>
                        <select style="width: 260px;" name="isTitle" class="easyui-combobox easyui-validatebox"
                                data-options="height:30,
											  editable:false,required:true,
											  panelHeight:'auto'">
                            <option selected="selected" value="否">否</option>
                            <option value="是">是</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>是否是热门关键词：</td>
                    <td>
                        <select style="width: 260px;" name="isHot" class="easyui-combobox easyui-validatebox"
                                data-options="height:30,
											  editable:false,required:true,
											  panelHeight:'auto'">
                            <option selected="selected" value="否">否</option>
                            <option value="是">是</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>序号：</td>
                    <td>
                        <input type="text" style="width: 260px; height: 29px;" name="orderno" class="easyui-validatebox" data-options="required:true,missingMessage:'序号不能为空！'"/>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</form>